package erp.education.server.db.entites.erp.project;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "project_modules")
public class Modules implements Serializable {
	public Modules() {

	}

	@Id
	@TableGenerator(name = "project_module_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "project_module_gen")
	@Column(name = "module_id")
	private Long moduleId;
	@Column(name = "module_name")
	private String moduleName;

	public Long getModuleId() {
		return moduleId;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

}
